package com.liebaut.dao.reports;

import com.liebaut.model.reports.Report;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.repository.CrudRepository;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: User
 * Date: 16/02/14
 * Time: 18:25
 * To change this template use File | Settings | File Templates.
 */
public interface ReportRepository extends JpaRepository<Report, Long> {

    List<Report> findByType(String type);
}
